﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Chinaer.Model.Common;

namespace Chinaer.IBll
{
    /// <summary>
    /// 只包括增 删 改  ，查询没有
    /// </summary>
    /// <typeparam name="T"></typeparam>
    public interface IBaseBLL<T>
        where T : class
    {

        JsonResult Add(T t);
        JsonResult Delete(T t);
        JsonResult Delete(string id);
        JsonResult Update(T t);
        T GetByID(string id);
    }
}
